package kr.co.hanbit;


public class MethodEx2 {
	
	int var;
	
	private void setint(int var) 
		{
		
		this.var = var;
		
		public int getint(){
			return var;
		}
		public static void main(String[] args)
		{
			
			MethodEx2 me2 = new MethodEx2();
			me2.setint(1000);
			System.out.println("var:"+me2.getint());
			
			
		}
		
		
	}

}
